|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Functions | |
| void | main (void) |
| void main | ( | void | ) |
WDT - Failsafe Clock, 39KHz LFMODCLK
Configure WDT in watchdog to timeout sourced by ACLK. LPM3 is entered. This example will demonstrate WDT fail-safe feature by automatically selecting LFMODCLK as WDT clock source if ACLK fails. Watchdog timeout will toggle on P1.0 every 1 second in main function. LFMODCLK = 39062, ACLK = 32768, MCLK = SMCLK = default DCO ~1.045MHz
| / | | |
|---|---|
| – | RST |
| P1.0 | -->LED |
| |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 63 of file wdt_a_ex3_watchdogACLK.c.
References __no_operation().